package router

import (
	"github.com/gin-gonic/gin"
	"i18n-template/controller"
)

func UseProductRouter(group *gin.RouterGroup) {
	group.POST("", controller.GenerateProductController())
	group.PUT("", controller.UpdateProductController())
	group.DELETE("", controller.DeleteProductController())
	group.GET("", controller.FindProductController())
	group.POST("/search", controller.SearchProductController())
}
